package com.wlzg.collectiontool.model.bean

import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.google.gson.annotations.SerializedName
import com.wlzg.collectiontool.db.HunjieConvert
import com.wlzg.collectiontool.db.ImageConvert
import com.wlzg.collectiontool.util.DateUtil

@Entity(tableName = "pshfc")
@TypeConverters(HunjieConvert::class, ImageConvert::class)
 class PsHuafenchi :BaseGuandian(){
    @PrimaryKey(autoGenerate = true)
    var hfcId :Long?=null
    @SerializedName("addr")
    var addr: String? = null

    @SerializedName("createBy")
    var createBy: String? = null

    @SerializedName("createTime")
    var createTime: String? = null

    @SerializedName("datasource")
    var datasource = 0

    @SerializedName("districtId")
    var districtId: String? = null

    @SerializedName("districtName")
    var districtName: String? = null

    @SerializedName("locationcode")
    var locationcode: String? = null

    @SerializedName("manager")
    var manager: String? = null

    @SerializedName("manholecode")
    var manholecode: String? = null

    @SerializedName("name")
    var name: String? = null

    @SerializedName("objectid")
    var objectid = 0

    @SerializedName("organizationCode")
    var organizationCode = 0

    @SerializedName("proCode")
    var proCode: String? = null

    @SerializedName("recordDate")
    var recordDate: String? = null

    @SerializedName("remark")
    var remark: String? = null
    @SerializedName("remark2")
    var remark2: String? = null

    @SerializedName("reportDate")
    var reportDate: String? = null

    @SerializedName("septictacode")
    var septictacode: String? = null

    @SerializedName("septictankSize")
    var septictankSize: String? = null

    @SerializedName("septictankid")
    var septictankid: String? = null

    @SerializedName("shape")
    var shape: String? = null

    @SerializedName("systemCode")
    var systemCode: String? = null

    @SerializedName("updateBy")
    var updateBy: String? = null

    @SerializedName("updateTime")
    var updateTime: String? = null

    @SerializedName("x1Coor")
    var x1Coor = 0.0

    @SerializedName("xcoor")
    var xcoor = 0

    @SerializedName("y1Coor")
    var y1Coor = 0.0

    @SerializedName("ycoor")
    var ycoor = 0
   init {
      createTime= DateUtil.getCurData()
   }
}